package com.zzzy.sys.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 角色和部门关联表
 *
 * @author fc
 * @since 2024-04-26
 */
@Getter
@Setter
@TableName("sys_role_dept")
@Schema(name = "RoleDept", description = "角色和部门关联表")
public class RoleDept {

    @Schema(description = "角色ID")
    @TableField("role_id")
    private Long roleId;

    @Schema(description = "部门ID")
    @TableField("dept_id")
    private Long deptId;
}
